package com.xxxy;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: PriorityTestController
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2025/9/12 17:28
 * @Version 17.0.2
 */
@RefreshScope
@RestController
public class PriorityTestController {

    @Value("${priority.test}")
    private String priority;

    @GetMapping("/test")
    public String test(){
        return priority;
    }
}
